from sqlalchemy import Column, Integer

from app.models.base import BaseModel


class CategoryBrandRelDo(BaseModel):
    """分类与品牌关联表"""
    __tablename__ = "category_brand_rel"
    id = Column(Integer, primary_key=True, autoincrement=True, comment="主键")
    brand_id = Column(Integer, comment="品牌id")
    category_id = Column(Integer, comment="分类ID(主键)")
